package com.pearl.generator.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author TangDan
 * @version 1.0
 * @since 2022/6/29
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResultEnum {
    SUCCESS(200, "操作成功"),
    FAIL(-1, "操作失败");

    private Integer code;

    private String msg;
}
